home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2062 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  907 b 

  1. Path: pm1-25.abc.se!user
  2. From: tommy@objecta.se (Tommy Kjellqvist)
  3. Newsgroups: comp.lang.c++
  4. Subject: implement new streams?
  5. Date: Mon, 15 Jan 1996 18:23:53 +0200
  6. Organization: ABC-Klubben
  7. Message-ID: <tommy-1501961823530001@pm1-25.abc.se>
  8. NNTP-Posting-Host: pm1-25.abc.se
  9.  
  10. I would like to implement a new stream like fstrams or strstreams. My goal
  11. is to use for example a serial port or at tcp/ip-port in the same way as I
  12. do with cin/cout.
  13.  
  14. As I understand it, I should derive the new class from the iostream-class
  15. or has I missunderstood the whole thing completely?
  16.  
  17. Is there any sourcecode I could have or someone explaining the whole thing
  18. to me?
  19.  
  20. A private mail with some commented or uncommented sourcecode would be just fine.
  21.  
  22. +----------------------------------------+
  23. |  Tommy Kjellqvist    tommy@objecta.se  |
  24. |  http://www.ava.taby.se/elev/4ntkjelt  |
  25. +----------------------------------------+
  26.